//
//  AnoleH5Configure.h
//  AnoleSDK
//
//  Created by mac on 2022/7/14.
//

#import <Foundation/Foundation.h>
#import "AnoleAppInfo.h"
NS_ASSUME_NONNULL_BEGIN

@interface AnoleH5Configure : NSObject

//存放小程序的pages.json配置内容
@property (nonatomic, strong) NSDictionary *pagesJsonConfig;


//离线包三个路径 AnoleDemo.app/h5/index#/pages/poc/findLife
//1，离线包基础路径     AnoleDemo.app/h5
//2, page加载基础路径  /index#
//3, 资源加载基础路径   /h5/static/images/index1.png，资源引用包含static，所以资源加载基础路径只需要为空字符串
//3, 需要加载page的路径 /pages/poc/findLife

//项目基础目录
//AnoleDemo.app/h5
@property (nonatomic, strong) NSString *baseFolder;
//page跳转的基础目录 /index.html
@property (nonatomic, strong) NSString *pageBasePath;
//资源文件的基础目录 /h5/static/images/index1.png，资源自带static开头
@property (nonatomic, strong) NSString *resourceBasePath;
//需要加载的路径 baseFolder+pageBasePath+loadPathPath  AnoleDemo.app/h5/index#/pages/poc/findLife
@property (nonatomic, strong) NSString *pageRelativePath;

//当前页面所属的app
@property (nonatomic, strong) AnoleAppInfo *appInfo;

@end

NS_ASSUME_NONNULL_END
